package chapter10.p6.p02;

import chapter10.p6.p01.MyInterface;

public class MyClass {
	protected class MyInner implements MyInterface {
		private int id = 10;
		public void value() {
			System.out.println("My Id is " + id);
		}

	}
	public MyInterface inner() {
		return new MyInner();
	}
}
